    <div id="breadcrumbs"><?php echo $this->Html->link('Home', array('controller' => 'contents', 'action' => 'view', 'home')); ?> > <?php echo $this->Html->link('List Questions', array('controller'=>'Questions', 'action'=>'index'));?> > Edit Questions
</div>

<div class="questions form">
<?php echo $this->Form->create('Question',
  array(
   'inputDefaults' => array(
    'required' => false,
   ),
  )); ?>
	<fieldset>
		<h2><?php echo __('Edit Question'); ?></h2>
	<?php
		echo $this->Form->input('questions_id');
		echo $this->Form->input('questions', array('label'=>'Question'));
                 echo "<br>";
		echo $this->Form->input('q_id', array('options' => $questionnaire, 'label'=>'Questionnaire')); 
                echo "<br>";
		echo $this->Form->input('answers_id', array('label'=>'Answer'));
                 echo "<br>";
                echo $this->Form->input('comments',array('label'=>'Comments'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Question.questions_id')), null, __('Are you sure you want to delete %s?', $this->Form->value('Question.questions'))); ?></li>
		<li><?php echo $this->Html->link(__('List Questions'), array('action' => 'index')); ?></li>
	</ul>
</div>
